package com.sixoneseven;

import common.TreeNode;

public class Test {
    public static void main(String[] args) {
        TreeNode treeNode0 = new TreeNode(0);
        TreeNode treeNode1 = new TreeNode(1);
        TreeNode treeNode2 = new TreeNode(2);
        TreeNode treeNode3 = new TreeNode(3);
        TreeNode treeNode4 = new TreeNode(4);
        treeNode0.left = treeNode1;
        treeNode0.right = treeNode2;
        treeNode1.left = treeNode3;
        treeNode2.right = treeNode4;

        TreeNode node = new SixOneSeven().hB(treeNode0, treeNode0);

        new SixOneSeven().blTree(node);

    }
}
